package com.bdqn.service;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.bdqn.config.mybatis.IService;
import com.bdqn.pojo.User;

/**
 * @author LILIBO
 * @description 针对表【sys_user】的数据库操作Service
 * @createDate 2022-11-30 11:01:02
 */
public interface UserService extends IService<User> {

    /**
     * 通过用户特征查找用户
     *
     * @param user
     * @return
     */
    User getUser(User user);

    /**
     * 用户登录
     *
     * @param usrName
     * @param usrPassword
     * @return
     */
    User login(String usrName, String usrPassword);

    /**
     * 新增密码是对密码进行加密
     * @param user
     * @return
     */
    String save(String password);

}
